package com.vinoxm.rss.controller;

import com.vinoxm.common.base.result.BaseResult;
import com.vinoxm.rss.handler.interceptor.annotation.NeedSecret;
import com.vinoxm.rss.model.RssCopyright;
import com.vinoxm.rss.service.RssCopyrightService;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("copyright")
@NeedSecret
public class RssCopyrightController extends RssDetailController<RssCopyrightService, RssCopyright> {

    @GetMapping("getImage")
    public BaseResult getImage() {
        return baseService.getAllImage();
    }
}
